List of Global Tokens

The following list details the global tokens available in Workflow.

Note: Global tokens can be used in business processes.

Name Description Syntax
Date The date the activity ran as defined by the Workflow Server machine. %(Date)
Time The time the activity ran as defined by the Workflow Server machine. %(Time)
DateTime The date and time the activity ran as defined by the Workflow Server machine. %(DateTime)
Has Starting Entry Whether the workflow has a starting entry defined. This token can have one of two values: True or False. %(Has Starting Entry)
Instance URL

A Workflow Web URL that points to the workflow instance.

%(Instance URL)
Entry ID The Laserfiche ID number of the routed entry. %(Entry ID)
Entry Name The name of the routed entry. %(Entry Name)
Entry Path The folder path of the routed entry. %(Entry Path)
Entry Repository The repository the routed entry is in. %(Entry Repository)
Entry Server The Laserfiche Server the routed entry is on. %(Entry Server)
Initiator The user that satisfied the workflow's starting rule. %(Initiator)
*Starting DateTime The date and time the workflow started. Note that this value may differ from the start time listed in the Search Results, especially if there is a backlog of workflows waiting to run. More information. %(Starting DateTime)
*WorkflowName The workflow's unique name that is used when the Workflow is converted into Windows Workflow Foundation code. %(WorkflowName)
*WorkflowID The ID number assigned to the workflow. Workflow ID numbers are based on the chronological order in which workflows are published. The first workflow you publish is assigned an ID number of one. %(WorkflowID)
*WorkflowInstanceID The ID number assigned to the workflow instance. Workflow Instance ID numbers are based on a Globally Unique Identifier (or GUID). %(WorkflowInstanceID)
*RuleName The name of the starting rule that started the workflow. This token is blank for invoked workflows. %(RuleName)
*LFServer

The name of the starting entry's Laserfiche Server.

%(LFServer)
*LFRepository The name of the Laserfiche Repository the starting entry is in. %(LFRepository)
*DisplayName The name of the workflow as defined in the Workflow Name property box. %(DisplayName)
*WorkflowVersion The workflow's version number. Each time you re-publish a workflow it is given a new version number. The first time you publish a workflow, it is version 1 of the workflow. %(WorkflowVersion)
*Initiator SID The SID (security identifier) of the user that satisfied the workflow's starting rule. %(Initiator SID)
*Forms Submission ID

The ID of the Forms submission.

Note: This token is available to workflows started through a service task in Laserfiche Forms.

%(FormsSubmissionID)

*These tokens are hidden and do not appear on the token menu or in the Token Dialog.

Additional Tokens

In addition to the global tokens, tokens specific to the activities in your current workflow definition may be displayed in the token menu or Token Dialog. ClosedGive me an example.